<template>
  <el-tabs v-model="activeName">
    <el-tab-pane label="标注" name="first">
      <SurveyDreaw :canvasImg="canvasImg" />
    </el-tab-pane>
    <el-tab-pane label="签名" name="second">
      <Signature @getSignature="getSignature"></Signature>
    </el-tab-pane>
  </el-tabs>
</template>
<script lang='ts' setup>
import { ref } from 'vue'
import SurveyDreaw from './components/surveyDraw/indxe.vue'
import Signature from './components/signature/index.vue'
import canvasImg from './assets/c.jpg'
const activeName = ref('first')
const getSignature = (img) => {
  console.log(img, 'img')
}
</script>
<style lang='less' scoped></style>